package design_patterns_and_best_practices_in_java;

import java.util.stream.IntStream;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2019-11-13 下午5:22
 */
public class Chapter1 {
    public static void main(String[] args) {
        IntStream.range(0, 10)
                .filter(i -> i % 2 == 0)
                .forEach(System.out::print);
    }
}
